import Route from './Route'

const Routes = Array<Route>()

/**
 * 登陆窗口关闭
 */
Routes.push()

/** 登陆窗口关闭 */
Routes.push(
  new Route('close-login', (frames) => {
    frames.mainFrame.close()
  })
)

/**
 * 登陆窗口移动
 */
Routes.push(
  new Route('move-login', (frames, data) => {
    frames.mainFrame.move(data.data)
  })
)

export default Routes
